package com.ygqh.baby.po;

import com.ygqh.baby.ao.BillStatus;
import com.ygqh.baby.ao.CommitStatus;
import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.ao.WholeSaleRecordType;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Ss
 */
public class YgWholesalerPrebillRecord {
	private Long id;

	private Long wholesalerId;

	private String wholesalerName;

	private String prebillCode;

	private String billCode;

	private BigDecimal prebillPrice;

	private WholeSaleRecordType recordType;

	private Date startDate;

	private Date endDate;

    private CommitStatus commitStatus;

	private String remark;

	private Date createTime;

	private String createBy;

	private Date updateTime;

	private String updateBy;

	private DataStatus status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getWholesalerId() {
		return wholesalerId;
	}

	public void setWholesalerId(Long wholesalerId) {
		this.wholesalerId = wholesalerId;
	}

	public String getWholesalerName() {
		return wholesalerName;
	}

	public void setWholesalerName(String wholesalerName) {
		this.wholesalerName = wholesalerName == null ? null : wholesalerName.trim();
	}

	public String getPrebillCode() {
		return prebillCode;
	}

	public void setPrebillCode(String prebillCode) {
		this.prebillCode = prebillCode == null ? null : prebillCode.trim();
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode == null ? null : billCode.trim();
	}

	public BigDecimal getPrebillPrice() {
		return prebillPrice;
	}

	public void setPrebillPrice(BigDecimal prebillPrice) {
		this.prebillPrice = prebillPrice;
	}

	public WholeSaleRecordType getRecordType() {
		return recordType;
	}

	public void setRecordType(WholeSaleRecordType recordType) {
		this.recordType = recordType;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

    public CommitStatus getCommitStatus() {
        return commitStatus;
    }

    public void setCommitStatus(CommitStatus commitStatus) {
        this.commitStatus = commitStatus;
    }

    public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy == null ? null : createBy.trim();
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy == null ? null : updateBy.trim();
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public String getRecordTypeDesc() {
		return recordType == null ? null : recordType.getDesc();
	}

	public String getCommitStatusDesc() {
		return commitStatus == null ? null : commitStatus.getDesc();
	}
}